<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="DocumentoFiscalViewDlg" widgetVar="DocumentoFiscalViewDialog" modal="true" resizable="false" appendTo="@(body)" header="#{bundle.ViewDocumentoFiscalTitle}">
            <h:form id="DocumentoFiscalViewForm">
                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{documentoFiscalController.selected != null}">
                        <h:outputText value="#{bundle.ViewDocumentoFiscalLabel_idDocumentoFiscal}"/>
                        <h:outputText value="#{documentoFiscalController.selected.idDocumentoFiscal}" title="#{bundle.ViewDocumentoFiscalTitle_idDocumentoFiscal}"/>
                        <h:outputText value="#{bundle.ViewDocumentoFiscalLabel_nuDanfe}"/>
                        <h:outputText value="#{documentoFiscalController.selected.nuDanfe}" title="#{bundle.ViewDocumentoFiscalTitle_nuDanfe}"/>
                        <h:outputText value="#{bundle.ViewDocumentoFiscalLabel_vlNfeBruto}"/>
                        <h:outputText value="#{documentoFiscalController.selected.vlNfeBruto}" title="#{bundle.ViewDocumentoFiscalTitle_vlNfeBruto}"/>
                        <h:outputText value="#{bundle.ViewDocumentoFiscalLabel_vlNfeLiquido}"/>
                        <h:outputText value="#{documentoFiscalController.selected.vlNfeLiquido}" title="#{bundle.ViewDocumentoFiscalTitle_vlNfeLiquido}"/>
                        <h:outputText value="#{bundle.ViewDocumentoFiscalLabel_vlIcms}"/>
                        <h:outputText value="#{documentoFiscalController.selected.vlIcms}" title="#{bundle.ViewDocumentoFiscalTitle_vlIcms}"/>
                        <h:outputText value="#{bundle.ViewDocumentoFiscalLabel_vlDesconto}"/>
                        <h:outputText value="#{documentoFiscalController.selected.vlDesconto}" title="#{bundle.ViewDocumentoFiscalTitle_vlDesconto}"/>
                        <h:outputText value="#{bundle.ViewDocumentoFiscalLabel_dtNfe}"/>
                        <h:outputText value="#{documentoFiscalController.selected.dtNfe}" title="#{bundle.ViewDocumentoFiscalTitle_dtNfe}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewDocumentoFiscalLabel_dtRecebimento}"/>
                        <h:outputText value="#{documentoFiscalController.selected.dtRecebimento}" title="#{bundle.ViewDocumentoFiscalTitle_dtRecebimento}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="DocumentoFiscalViewDialog.hide()"/>
                </h:panelGroup>
            </h:form>
        </p:dialog>

    </ui:composition>
</html>
